package cn.fboost.mtos.mapper;

import cn.fboost.mtos.entity.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryMapper {
    int create(Category category);
    int update(Category category);
    int delete(int id);
    List<Category> list();
    Category findById(int categoryId);
}
